package com.njtoyo.taxi.admin.service.local_service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.rest.presenter.local_service.OrderDetailsPresenter;
import com.njtoyo.taxi.admin.rest.presenter.local_service.OrderPagePresenter;
import com.njtoyo.taxi.admin.rest.wrapper.local_service.order.OrderPageWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

public interface LifeOrderService {
    /**
     * 订单列表
     *
     * @param adminUser
     * @param wrapper
     * @return
     */
    RestResult<Page<OrderPagePresenter>> getPage(AdminUser adminUser, OrderPageWrapper wrapper);

    /**
     * 订单详情
     *
     * @param id
     * @return
     */
    RestResult<OrderDetailsPresenter> details(Long id);

}
